package com.sse.product.exception;

/**
 * @ClassName AuthenticationException
 * @Description TODO
 * @Author junyongli
 * @Date 2022/6/27 9:31
 * @Version 1.0
 **/
public class ProductRuntimeException extends RuntimeException{

    private String code;
    private String msg;

    public ProductRuntimeException(){
        super();
    }

    public ProductRuntimeException(String code, String msg) {
        super(msg);
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
